package com.zhupanlin.order.exception;

import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.RestControllerAdvice;

/**
 * 描述信息：
 *
 * @author zhupanlin
 * @version 1.0
 * @date 2025/1/24 15:18
 */
@RestControllerAdvice
public class GlobalExceptionHandler {
    
    /*@ExceptionHandler(Throwable.class)
    public String error(Throwable e) {
        return e.getMessage();
    }*/
    
}